<?php 
include('header.php');
echo "<br /><div align=\"center\" style=\"position:absolute; left:30px;\"><a style=\"text-decoration:none; font-family:'Myriad Pro', sans-serif, helvetica; color:#284f74; font-size:13px; font-weight:bold;\" href=\"partnersAdd.php#content\"><img src=\"addnew.png\" border=\"0\" /><br />Add a partner</a></div><br /><br />";
$db = mysql_connect("76.12.37.71", "medic_site", "m3dicsit3");
mysql_select_db("medic_site", $db);
?><br />
<table cellspacing="5" cellpadding="5" border="0" style="margin-top:35px; border:1px solid #CCCCCC;">
<tr><td><span style="text-decoration:none; font-family:'Myriad Pro', sans-serif, helvetica; color:#284f74; font-size:13px; font-weight:bold;">ID</span></td><td><span style="text-decoration:none; font-family:'Myriad Pro', sans-serif, helvetica; color:#284f74; font-size:13px; font-weight:bold;">Name</span></td></tr>
<?php
	$SQL = "SELECT * FROM partners";
	$result = mysql_query($SQL, $db);
	while($data = mysql_fetch_array($result)){
		echo "<tr><td><span style=\"text-decoration:none; font-family:'Myriad Pro', sans-serif, helvetica; color:#284f74; font-size:13px; font-weight:bold;\">" . $data["id"] . "</span></td><td><a style=\"font-family:'Myriad Pro', sans-serif, helvetica; color:#284f74; font-size:13px; font-weight:bold;\" href=\"partners.php?id=" . $data["id"] . "#content\">" . $data["name_US"] . "</a></td></tr>";
	}
?>
</table>

</body>
</html>